<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{saleLoanPaymentTemplateBean.id}"/>
		<f:event type="preRenderView" listener="#{saleLoanPaymentTemplateBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sale Loan Payment Template"/>

	<ui:define name="header">
		Sale Loan Payment Template
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty saleLoanPaymentTemplateBean.id}">
				Edit existing Sale Loan Payment Template
			</c:when>
			<c:otherwise>
				Create a new Sale Loan Payment Template
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateSaleLoanContract" value="Sale Loan Contract:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{saleLoanContractBean.converter}" id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateSaleLoanContract" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.saleLoanContract}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{saleLoanContractBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateSaleLoanContract" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOrgNo" value="Pay Org No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOrgNo" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payOrgNo}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOrgNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateDueDate" value="Due Date:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateDueDate" maxLength="10" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.dueDate}">
						<f:convertDateTime type="date"/>
					</h:inputText>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateDueDate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentValPerMonth" value="Installment Val Per Month:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentValPerMonth" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.installmentValPerMonth}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentValPerMonth" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePrincipalVal" value="Principal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePrincipalVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.principalVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePrincipalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPrincipalVal" value="Pay Principal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPrincipalVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payPrincipalVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPrincipalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInterestVal" value="Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInterestVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.interestVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayInterestVal" value="Pay Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayInterestVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payInterestVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentVal" value="Installment Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentVal" required="true" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.installmentVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayInstallmentVal" value="Pay Installment Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayInstallmentVal" required="true" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payInstallmentVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayInstallmentVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePrincipalRemainVal" value="Principal Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePrincipalRemainVal" required="true" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.principalRemainVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePrincipalRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInterestRemainVal" value="Interest Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInterestRemainVal" required="true" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.interestRemainVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInterestRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentRemainVal" value="Installment Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentRemainVal" required="true" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.installmentRemainVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateInstallmentRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOthOrgStatus" value="Pay Oth Org Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOthOrgStatus" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payOthOrgStatus}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOthOrgStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOthOrgLoanFeeVal" value="Pay Oth Org Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOthOrgLoanFeeVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payOthOrgLoanFeeVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayOthOrgLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLoanFeeVal" value="Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLoanFeeVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.loanFeeVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeVal" value="Pay Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payLoanFeeVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLoanFeeRemainVal" value="Loan Fee Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLoanFeeRemainVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.loanFeeRemainVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLoanFeeRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayDtm" value="Pay Dtm:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayDtm" maxLength="19" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payDtm}">
						<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
					</h:inputText>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayDtm" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPartNo" value="Pay Part No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPartNo" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payPartNo}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPartNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateContractPayPartNo" value="Contract Pay Part No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateContractPayPartNo" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.contractPayPartNo}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateContractPayPartNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLateDayVal" value="Late Day Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLateDayVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.lateDayVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateLateDayVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsManualPayFine" value="Status Is Manual Pay Fine:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsManualPayFine" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.statusIsManualPayFine}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsManualPayFine" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateFineVal" value="Fine Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateFineVal" required="true" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.fineVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateFineVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeDunningLetterVal" value="Pay Loan Fee Dunning Letter Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeDunningLetterVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payLoanFeeDunningLetterVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeDunningLetterVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeDunningVal" value="Pay Loan Fee Dunning Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeDunningVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payLoanFeeDunningVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeDunningVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeOutsideVal" value="Pay Loan Fee Outside Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeOutsideVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payLoanFeeOutsideVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeOutsideVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeExtra3Val" value="Pay Loan Fee Extra 3Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeExtra3Val" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payLoanFeeExtra3Val}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeExtra3Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeExtra4Val" value="Pay Loan Fee Extra 4Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeExtra4Val" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payLoanFeeExtra4Val}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayLoanFeeExtra4Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPendingStatus" value="Pay Pending Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPendingStatus" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payPendingStatus}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayPendingStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateCompoundDebtPendingInterestVal" value="Compound Debt Pending Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateCompoundDebtPendingInterestVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.compoundDebtPendingInterestVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateCompoundDebtPendingInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayCompoundDebtPendingInterestVal" value="Pay Compound Debt Pending Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayCompoundDebtPendingInterestVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payCompoundDebtPendingInterestVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayCompoundDebtPendingInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingPrincipalVal" value="Pending Principal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingPrincipalVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.pendingPrincipalVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingPrincipalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingInterestVal" value="Pending Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingInterestVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.pendingInterestVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingLoanFeeVal" value="Pending Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingLoanFeeVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.pendingLoanFeeVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingInstallmentVal" value="Pending Installment Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingInstallmentVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.pendingInstallmentVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingInstallmentVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingFineVal" value="Pending Fine Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingFineVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.pendingFineVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingFineVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingLateDayVal" value="Pending Late Day Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingLateDayVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.pendingLateDayVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePendingLateDayVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptCode" value="Receipt Code:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptCode" maxLength="50" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.receiptCode}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptCode" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptByEmpNo" value="Receipt By Emp No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptByEmpNo" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.receiptByEmpNo}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptByEmpNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptManualStatus" value="Receipt Manual Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptManualStatus" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.receiptManualStatus}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptManualStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptAllowPrintStatus" value="Receipt Allow Print Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptAllowPrintStatus" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.receiptAllowPrintStatus}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateReceiptAllowPrintStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsPay" value="Status Is Pay:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsPay" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.statusIsPay}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsPay" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayContractStatusNo" value="Pay Contract Status No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayContractStatusNo" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.payContractStatusNo}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplatePayContractStatusNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsGenFinTrans" value="Status Is Gen Fin Trans:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsGenFinTrans" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.statusIsGenFinTrans}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsGenFinTrans" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateJnSpRecNoForTmd02" value="Jn Sp Rec No For Tmd 02:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateJnSpRecNoForTmd02" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.jnSpRecNoForTmd02}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateJnSpRecNoForTmd02" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsPayAdvanced" value="Status Is Pay Advanced:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsPayAdvanced" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.statusIsPayAdvanced}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateStatusIsPayAdvanced" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateJnSpRecNo" value="Jn Sp Rec No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateJnSpRecNo" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.jnSpRecNo}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateJnSpRecNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateCloseBfEndtermDiscVal" value="Close Bf Endterm Disc Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateCloseBfEndtermDiscVal" value="#{saleLoanPaymentTemplateBean.saleLoanPaymentTemplate.closeBfEndtermDiscVal}"/>
					<h:message for="saleLoanPaymentTemplateBeanSaleLoanPaymentTemplateCloseBfEndtermDiscVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{saleLoanPaymentTemplateBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty saleLoanPaymentTemplateBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{saleLoanPaymentTemplateBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{saleLoanPaymentTemplateBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>